package xian.woniuxy.zh_generic.a;

import java.util.ArrayList;
import java.util.List;

public class App {
    public static void main(String[] args) {
        List stringList = new ArrayList();

        stringList.add("aa");
        stringList.add(1);
        stringList.add(true);

        // ..............

        for (Object o : stringList) {
            String s = (String) o;
            System.out.println(s.length());
        }

    }
}
